Skip to content

Conversation

@gururaj1512
Copy link

Resolves #963

  • Add convenience overloads for rvs_normal that accept (mold, array_size) and return standard-normal arrays (loc=0, scale=1) for both real and complex kinds.
  • Add deterministic tests that compare the new (mold, array_size) call with the explicit (loc=0, scale=1, array_size) call to ensure identical behavior.

@gururaj1512
Copy link
Author

@jvdp1, Can you have a look. Needs review...!

Copy link
Member

@jvdp1 jvdp1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @gururaj1512 . I have some suggestions below.

@gururaj1512
Copy link
Author

@jvdp1, I've refactored as per your suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make loc and scale arguments of rvs_normal optional when returning an array

2 participants